package com.cch.cooperation.dao.file.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Map;

@ApiModel("文件信息")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class FileDTO implements Serializable {

    @ApiModelProperty("文件id")
    private String id;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("文件地址")
    private String url;

    @ApiModelProperty("文件封面地址")
    private String coverUrl;

    @ApiModelProperty("文件参数：width=宽 height=高")
    private Map<String, Object> param;

}
